package com.jctrip.hotel.source.model.rezen.resp;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * @Author henry
 * @Date 2023/8/11 10:47
 * @Description
 */
@Data
public class RoomTypeDTO implements Serializable {
    private List<RoomType> roomTypeList;

    @Data
    public static class RoomType {
        private List<BedTypeList> bedTypeList;
        private Long groupId;
        private String hotelCode;
        private Long hotelId;
        private List<ImageList> imageList;
        private Integer occupancyMax;
        private List<ProductList> productList;
        private String roomArea;
        private String roomFloors;
        private String roomtypCd;
        private Long roomtypId;
        private String roomtypNm;
        private Integer windowType;
    }

    @Data
    public static class BedTypeList {
        private String bedtypCode;
        private Long bedtypId;
        private String entityNm;
        private Integer entityNums;
        private String entitySize;
    }

    @Data
    public static class ImageList {
        private Integer firstFlg;
        private Long imageId;
        private String imageUrl;
    }

    @Data
    public static class HourlyRoomInfo {
        private String endTime;
        private String startTime;
        private int stayHour;
    }

    @Data
    public static class ProductList {
        private String customFlag;
        private HourlyRoomInfo hourlyRoomInfo;
        private Integer isHourlyRoom;
        private String memberRankCode;
        private Long productId;
        private Rate rate;
        private Long rateId;
        private String reservationNotice;
        private Long roomtypId;
        private Integer statusFlg;
    }

    @Data
    public static class Rate {
        private String hotelCode;
        private Integer paymentType;
    }
}
